from pydantic import BaseModel


class CreateUserReqSchema(BaseModel):
    email: str
    username: str
    password: str


class UpdateUserReqSchema(BaseModel):
    email: str | None = None
    username: str | None = None
    password: str | None = None


class UserRespSchema(BaseModel):
    id: int
    email: str
    username: str


